package com.huluobo.base.net

/**
 *  Created by LC on 2024/12/25.
 */
object Const {
    const val BASE_URL = "http://10.161.9.80:7012"
    const val PARAM_TOKEN = "token"
    const val MEDIA_TYPE = "application/json;charset=utf-8"

    //登录
    const val URL_LOGIN = "/user/loginjson"
    const val PARAM_USERNAME = "username"
    const val PARAM_PASSWORD = "password"

    //视频
    const val URL_VIDEOS = "/video/findVideos"
    const val PARAM_CURRENT_PAGE = "currentPage"
    const val PARAM_PAGE_SIZE = "pageSize"
    const val PARAM_VIDEO_BEAN = "videoBean"

    //点赞
    const val PARAM_VIDEO_ID = "videoId"
    const val URL_LIKE_VIDEO = "/fav/love"
    const val URL_NO_LIKE_VIDEO = "/fav/nolove"

    //关注
    const val PARAM_AUTHNAME = "authname"
    const val URL_FOLLOW_AUTH = "/guanzhu/guanzhu"
    const val URL_NO_FOLLOW = "/guanzhu/noguanzhu"

    //评论
    const val URL_COMMENT = "/comment/getCommentByVideoId"
    const val PARAM_MSG = "msg"
    const val URL_SEND_COMMENT = "/comment/comment"

    //礼物
    const val URL_GIFT = "/gift/json"

    //商品
    const val URL_GET_GOODS = "/goods/info"
    const val PARAM_CATEGORY_ID = "category_id"
    const val URL_GOODS_DETAIL = "/goods/detail"
    const val PARAM_GOODS_ID = "goods_id"

    //购物车
    const val URL_GET_CART = "/goods/selectCar"
    const val PARAM_COUNT = "count"
    const val URL_ADD_CART = "/goods/addCar"
    const val PARAM_IDS = "ids"
    const val URL_DELETE_CART = "/goods/deleteCar"

}